package com.addplus.townmall.server.api.model.town;

import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.addplus.townmall.server.api.modelenum.OrderRefundEnum;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 拼团商城订单退款日志
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-12-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class OrderRefundApplicationLogFight extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 售后退款主键id
     */
    @TableField("refund_Id")
    private Integer refundId;

    /**
     * 操作者主键id
     */
    private String operatorId;

    /**
     * 操作日期
     */
    private Date operateDate;

    /**
     * 操作内容
     */
    private String operateContent;

    /**
     * 申请次数
     */
    private Integer applyNumber;

    /**
     * 退货申请状态枚举(USER_AMOUNT_APPLICATION=已提交退款申请,USER_AMOUNT_GOODS_APPLICATION=已提交退款退货申请,STORE_WAIT_AUDIT=商家待审核,STORE_WAIT_AUDIT_PASS=商家审核通过,STORE_WAIT_AUDIT_FAIL=商家审核不通过,PLATFORM_WAIT_AUDIT=平台待审核,PLATFORM_WAIT_AUDIT_PASS=平台审核通过,PLATFORM_WAIT_AUDIT_FAIL=平台审核不通过,USER_RETURN_GOODS=待用户寄回商品,USER_RETURN_CONFIRM_GOODS=用户已寄回商品,STORE_RECEIVE_GOODS=待商家收到商品,STORE_CONFIRM_GOODS=商家确认收到商品,GOODS_REFUND=待退款,GOODS_REFUND_PASS=退款成功,FINISH=已完成,CLOSE=已关闭)
     */
    private OrderRefundEnum step;

    /**
     * 当前步骤结束时间
     */
    private Date endDate;

    /**
     * 日志状态(0:进行中 1：已处理)
     */
    private Integer logStatus;

    /**
     * 备注(买家留言/商家留言/商家拒绝原因/平台退款备注)
     */
    private String remark;

    /**
     * 是否删除(0:否 1:是)
     */
    private Integer isDelete;


}
